home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 13263 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.7 KB

  1. Path: news.iadfw.net!usenet
  2. From: Larry Weiss <lfw@iadfw.net>
  3. Newsgroups: comp.lang.eiffel,comp.lang.c,comp.lang.c++,comp.object,comp.software-eng
  4. Subject: Re: Beware of "C" Hackers -- A rebuttal to Bertrand Meyer
  5. Date: Sun, 24 Mar 1996 10:06:57 -0600
  6. Organization: customer of Internet America
  7. Message-ID: <31557321.6A8B@iadfw.net>
  8. References: <1995Jul3.034108.4193@rcmcon.com> <4i862r$1evq@saba.info.ucla.edu> <64ss5$3F3RB@herold.franken.de> <314DADD4.3DE@oc.com> <4j3ohvINN4vu@keats.ugrad.cs.ubc.ca>
  9. NNTP-Posting-Host: dal08-29.ppp.iadfw.net
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.01 (Win16; I)
  14.  
  15. Kazimir Kylheku wrote:
  16.  > 
  17.  > The above are ones you wouldn't want to redefine anyway.  I doubt you could
  18.  > make a better strcpy() or abs() than compiler-generated inline code!
  19.  > --
  20.  
  21. You may just want or need learn how many invocations of that logic occur.
  22.  
  23. Remember, I'm asking how does a hacker feel about the inability to depend on these
  24. calls actually executing an easily replaceable or patchable code segment.
  25. I suspect that a hacker would take your last sentence as a challenge, and
  26. then if he/she were good enough, well who knows?
  27.  
  28. I do understand the software engineer's needs (although even in that domain I
  29. like to think that I can readily employ the memory leak-detector tools that rely on
  30. not inlined malloc() free() code generation).    Although while wearing my
  31. engineer's cap, if there were really good runtime efficiency gains to be had
  32. by inlining those calls .... well it would be a tough decision.  (and the problem
  33. there is with my 3rd party library code where the inline/not-inlined decisions
  34. are already imposed, either helping or restricting my leak-detector.
  35.